package com.deyuanyun.pic.pig.domain;

import java.util.Date;

import com.deyuanyun.pic.common.validator.annotations.DataValidate;
import com.deyuanyun.pic.common.validator.annotations.Head;

public class TrackPointImportVO {

	@Head( name="ID编号",row=2,cell=0)
	@DataValidate(notNull = true,notNullMessage="ID编号不能为空")
	private String id;

	@Head( name="序号",row=2,cell=1)
	private String indexId;

	@Head( name="位置描述",row=2,cell=2)
	private String locationDescription;

	@Head( name="绝对里程(m)",row=2,cell=3)
	private String mileage;

	@Head( name="参考点",row=2,cell=4)
	private String reference;

	@Head( name="相对参考点距离",row=2,cell=5)
	private String distance;

	@Head( name="通过时间",row=2,cell=6)
	@DataValidate(notNull = true,type = Date.class,datePattern = {"yyyy-MM-dd HH:mm:ss","yyyyMMddHHmmss","yyyy/MM/dd HH:mm:ss"},notNullMessage="通过时间不能为空",typeMessage = "通过时间格式有误，参照{yyyy-MM-dd HH:mm:ss或yyyyMMddHHmmss或yyyy/MM/dd HH:mm:ss}")
	private String passTime;

	@Head( name="记录人",row=2,cell=7)
	@DataValidate(notNull = true,notNullMessage="记录人不能为空", lengthLimit = "{0,10}",lengthLimitMessage="记录人名称过长")
	private String recorder;

	@Head( name="备注",row=2,cell=8)
	@DataValidate(lengthLimit = "{0,1000}",lengthLimitMessage="备注过长")
	private String remark;

	public String getPassTime() {
		return passTime;
	}

	public void setPassTime(String passTime) {
		this.passTime = passTime;
	}

	public String getRecorder() {
		return recorder;
	}

	public void setRecorder(String recorder) {
		this.recorder = recorder;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getIndexId() {
		return indexId;
	}

	public void setIndexId(String indexId) {
		this.indexId = indexId;
	}

	public String getLocationDescription() {
		return locationDescription;
	}

	public void setLocationDescription(String locationDescription) {
		this.locationDescription = locationDescription;
	}

	public String getMileage() {
		return mileage;
	}

	public void setMileage(String mileage) {
		this.mileage = mileage;
	}

	public String getReference() {
		return reference;
	}

	public void setReference(String reference) {
		this.reference = reference;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
}
